package com.wj.crm.dao;

import com.wj.crm.base.BaseMapper;
import com.wj.crm.vo.UserRole;
import com.wj.crm.vo.UserRoleKey;

public interface UserRoleMapper extends BaseMapper<UserRole,Integer > {

    //根据用户id查询用户角色记录
    Integer countUserRoleByUserId(Integer userId);
    //根据用户id删除用户角色记录
    Integer deleteUserRoleByUserId(Integer userId);
}